<template>
  <view class="box">
    <view
      class="top dispaly-just-between"
      @click="
        $goUrl(
          `/pages/circle/pages/groupConsole?id=${props?.item?.id}&type=${props?.type}`
        )
      "
    >
      <view class="title">{{ props?.item?.name }}</view>
      <view class="time">{{ props?.item?.createTime }}</view>
    </view>
    <view class="desc over-1">
      {{ props?.item?.memo || "暂无" }}
      <!-- <view></view> -->
      <!-- <rich-text :nodes="props?.item?.brief"></rich-text> -->
    </view>
  </view>
</template>

<script setup>
const props = defineProps({
  item: Object,
  type: String,
});
</script>

<style lang="scss" scoped>
.box {
  padding: 26rpx 30rpx;
  background-color: #fff;
  border-radius: 16rpx;

  .top {
    .title {
      font-family: PingFang SC Bold;
      font-size: 32rpx;
      font-weight: 700;
      color: #111111;
      margin-bottom: 22rpx;
    }

    .time {
      font-family: PingFang SC Medium;
      font-size: 24rpx;
      font-weight: normal;
      color: #aaaaaa;
    }
  }

  .desc {
    font-family: PingFang SC Medium;
    font-size: 26rpx;
    font-weight: normal;
    color: #777777;
  }
}
</style>
